package com.stox.client;

import java.util.Date;
import java.util.List;

import com.stox.dto.AbstractBar;
import com.stox.dto.enumeration.SpanType;

public interface BarClient {
	
	public <T extends AbstractBar> List<T> findByScripId(Long scripId, SpanType spanType, Date start, int count);
	
	public <T extends AbstractBar> List<T> findByScripId(Long scripId, SpanType spanType, Date start, Date end);
	
}
